package cn.edu.ncu.housinghub.dto.request.user;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 登录请求
 */
@Data
public class LoginRequest {

    @Email(message = "邮箱格式不正确")
    @NotBlank(message = "邮箱不能为空")
    private String email; // QQ邮箱

    @NotBlank(message = "密码不能为空")
    private String password; // 密码
}
